import request from "@/utils/requests/index";
import { RequestEnum } from '@/enums/httpEnum'

enum Api {
  LOGIN_PATH = '/admin/employee/login',
}

export function loginReq(data: any) {
  // return request.request<Response<UserMould.IgetUserListRes>>({
  return request.request<any>({
    method: RequestEnum.POST,
    url: Api.LOGIN_PATH,
    data
  })
}